package com.rjpacket.supernews.app;

import android.content.Intent;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.TextView;


public class OriginalDetailActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_original_detail);

        TextView actionBar = (TextView) findViewById(R.id.actionbar_title);
        actionBar.setText("网页浏览");

        Intent intent = getIntent();
        String url = intent.getStringExtra("url");

        WebView originalWebView = (WebView) findViewById(R.id.original_webview);
        originalWebView.setWebViewClient(new WebViewClient());
        originalWebView.loadUrl(url);


    }

}
